package com.fzh.wangxiao.app.controller;

import com.fzh.wangxiao.admin.req.DeptListRequest;
import com.fzh.wangxiao.admin.req.SuperResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

@RestController
@RequestMapping("/app/login")
@Api(value = "app",tags = {"注册"})
public class AppController {


    @PostMapping("/req")
    @ApiOperation(value = "注册" ,notes = "")
    public SuperResponse req(@Valid @RequestBody DeptListRequest request ){

        return  null;
    }



    @PostMapping("/getCode")
    @ApiOperation(value = "获取验证码" ,notes = "")
    public SuperResponse getCode(@Valid @RequestBody DeptListRequest request ){

        return  null;
    }



}
